package com.lb.pdm.entity.bo;

import jakarta.validation.constraints.Pattern;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Title: HouseholdInfoBO
 * @Author Wood
 * @Package com.lb.pdm.entity.bo
 * @Date 2025/10/29 19:24
 * @description:
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class HouseholdInfoBO {
    private String householderName;

    @Pattern(regexp = "^[1-9]\\d{5}(18|19|20)\\d{2}((0[1-9])|(1[0-2]))(([0-2][1-9])|10|20|30|31)\\d{3}[0-9Xx]$",
            message = "身份证号格式不正确")
    private String idCard;

    private Byte householdType;
    private String address;
    private String province;
    private String city;
    private String district;
    private String street;
    private String community;
    private String postalCode;
    private String policeStation;
    private String remark;
}
